export interface ITableConfig {
  prop?: string;
  label: string;
  slotName?: string;
  minWidth?: string | number;
  width?: string | number;
}

export interface IChildrenProps {
  'row-key': string;
  'tree-props': {
    children: string;
    hasChildren?: string;
  };
}

export interface ITable {
  tableItems: ITableConfig[];
  isShowIndex?: boolean;
  isShowSelection?: boolean;
  isShowFooter?: boolean;
  title: string;
  btn: string;
  childrenProps?: IChildrenProps;
}
